<template>
	<view>
		<van-search
		  :value="search"
		  shape="round"
		  background="#FF0000"
		  placeholder="请输入搜索关键词"
		  @focus="go"
		/>
	</view>
</template>

<script>
	export default {
		name:"search",
		data() {
			return {
				search:''
			};
		},
		methods:{
			go(){
				wx.navigateTo({url:'/sub/search/search'})
			}
		}
	}
</script>

<style lang="scss">

</style>
